<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			// 禁止app旋转
			// #ifdef APP-PLUS
			plus.screen.lockOrientation('portrait-primary')
			// #endif
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	page {
		background-color: #f4f4f4;
		// z-index: 1;
		height: 100%;
		
		// #ifdef H5
		position: absolute;
		z-index: -2;
		// #endif
		
	}
	// 状态栏的高度
	.status_bar {
		height: var(--status-bar-height);
		width: 100%;
	}
</style>
